
package results;

import objects.MobileStation;

/**
 * Monitors the base station speed. 
 * 
 * @author Guillaume
 * @created June 8, 2004
 */

public class ProbeMoveSpeed extends ProbeMove {

	/** Property name monitored by the probe */
	private static final String PROPERTY_NAME = "ProbeMoveSpeed";

	/** Probe description */
	private static final String PROBE_DESCRIPTION = "";
	

	/**
	 *
	 * @param t
	 * @param probeName probe name
	 */
	public ProbeMoveSpeed(MobileStation t,String probeName) {
		super(DEPL_LOOP, t, probeName);
	}

	/**
	 * Get the current speed of the MobileStation
	 * 
	 * @see Objects.MobileStation
	 * @see Results.Probe#getValue()
	 */
	protected Object getValue() {
		return ((MobileStation) _linkedStation).getSpeed();
	}

	/**
	 * Get the property Name
	 * @return property name
	 * @see Results.Probe#getPropertyName()
	 */
	public String getPropertyName() {
		return PROPERTY_NAME;
	}

	/**
	 * Get the descitption of the probe
	 * @return probe description
	 * @see Results.Probe#getProbeDescription()
	 */
	public String getProbeDescription() {
		return PROBE_DESCRIPTION;
	}


	public static void main(String[] args) {
	}
}
